package com.example.exp_5;

public class Teacher {
    private String number;
    private String name;
    private String sex;
    private String salary;

    public Teacher(String number,String name,String sex,String salary) {
        this.number = number;
        this.name = name;
        this.sex = sex;
        this.salary = salary;
    }
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }
}
